package com.jy.adscm.operation.aftersales.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.bean.system.JyUser;
import com.jy.adscm.operation.aftersales.bean.QueryShRepairUpkeep;
import com.jy.adscm.operation.aftersales.bean.ShRepair;
import com.jy.adscm.operation.aftersales.bean.ShRepairUpkeep;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-08-28
 */
public interface ShRepairUpkeepService extends IService<ShRepairUpkeep> {

    boolean insertShRepairUpkeep(ShRepairUpkeep shRepairUpkeep);

    boolean updateShRepairUpkeep(ShRepairUpkeep shRepairUpkeep, Token token);

    Page<ShRepairUpkeep> selectShRepairUpkeep(Page<ShRepairUpkeep> page, QueryShRepairUpkeep queryShRepairUpkeep);

    List<JyUser> selectShRepairUpkeepPersons();
}
